package com.richest.api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.richest.api.dao.MerchantContactMapper;
import com.richest.api.service.IMerchantContactService;
import com.richest.bean.MerchantContactBean;

/**
 * 企业联系信息管理服务实现
 * 
 * @author 杨博
 * @version richest-api 2.0
 */
@Service
public class MerchantContactServiceImpl implements IMerchantContactService {

	@Autowired
	private MerchantContactMapper mapper;

	@Override
	public Integer merchantContactUpdate(MerchantContactBean bean) {
		return mapper.merchantContactUpdate(bean);
	}

	@Override
	public MerchantContactBean merchantContactSelectOne(Long id) {
		return mapper.merchantContactSelectOne(id);
	}
}
